<?php
class UserDto {
	private $id;
	private $nickName;
	private $firstName;
	private $lastName;
	private $role;
	private $email;
	private $password;
	private $taskType;
	private $fbuid;
	
	public function getId() {
		return $this->id;
	}
	
	public function setId( $id ) {
		$this->id = $id;
	}
	
	public function getNickName() {
		return $this->nickName;
	}
	
	public function setNickName( $nickName ) {
		$this->nickName = $nickName;
	}
	
	public function getFirstName() {
		return $this->firstName;
	}
	
	public function setFirstName( $firstName ) {
		$this->firstName = $firstName;
	}
	
	public function getLastName() {
		return $this->lastName;
	}
	
	public function setLastName( $lastName ) {
		$this->lastName = $lastName;
	}
	
	public function getRole() {
		return $this->role;
	}
	
	public function setRole( $role ) {
		$this->role = $role;
	}
	
	public function getEmail() {
		return $this->email;
	}
	
	public function setEmail( $email ) {
		$this->email = $email;
	}
	
	public function getPassword() {
		return $this->password;
	}
	
	public function setPassword( $password ) {
		$this->password = $password;
	}
	
	public function getTaskType() {
		return $this->taskType;
	}
	
	public function setTaskType( $taskType ) {
		$this->taskType = $taskType;
	}
	
	public function getFBUid() {
		return $this->fbuid;
	}
	
	public function setFBUid( $fbuid ) {
		$this->fbuid = $fbuid;
	}
	
	public function getIsAdmin() {
		return $this->role == 1 ? true : false;
	}
	
}

?>